package com.fushenlan.epidemicControl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fushenlan.Vo.InhabitInfoVo;
import com.fushenlan.epidemicControl.dto.InhabitantInfoDto;
import com.fushenlan.po.InhabitantInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author XUJIN
 * @DATE 2022/4/21
 * @PACKAGE_NAME com.fushenlan.epidemicControl.mapper
 * @VERSION 1.0
 */
@Mapper
public interface InhabitantInfoMapper extends BaseMapper<InhabitantInfo> {

    List<InhabitInfoVo> findInhabitList(InhabitantInfoDto inhabitantInfoDto);
    List<InhabitInfoVo> queryInhabitList(InhabitantInfoDto inhabitantInfoDto);

    int updateInhabit(InhabitantInfo inhabitantInfo);

    List<InhabitInfoVo> getFamilylist(InhabitantInfoDto infoDto);

}
